package com.thesis.service;

import com.github.pagehelper.Page;
import com.thesis.entity.Food;

import java.util.List;
import java.util.Map;

public interface FoodService {


    int deleteByPrimaryKey(Long id);

    int insert(Food busiThesisDesign);

    int insertSelective(Food busiThesisDesign);

    Food selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Food busiThesisDesign);


    int updateByPrimaryKey(Food busiThesisDesign);

    List<Food> findPageList(Food busiThesisDesign);

    Page<Food> findPageListByVague(Food queryParam, String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    void saveOrUpdate(Food Food);

    List<Food> findAll();

    List<Food> selectClassListByProId(Long proId);

    List<Map<String, Object>> findAllByTime();
}
